package commands;

import strategies.DirTreeStrategy;
import utils.EditorContext;

public class DirTreeCommand extends Command {
    private String dir;

    public DirTreeCommand(EditorContext context, String dir) {
        super(context);
        this.dir = dir;
    }

    @Override
    public void execute() {
        new DirTreeStrategy(dir, context).display();
    }


}